@extends('admin.author.layout.layout')
@section('content')
    <div class="panel panel-default">
        <div class="panel-heading">
           账户余额
        </div>
        <!-- /.panel-heading -->
        <div class="panel-body">
            <div class="table-responsive">
                @if(session('success'))
                    <div class="alert alert-success">
                        {{session('success')}}
                    </div>
                @endif
                <table class="table table-striped table-bordered table-hover">
                    <thead>
                        <tr>
                            <th style="text-align:center">账户余额</th>
                            <th style="text-align:center">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td style="text-align:center">{{$res->account}}</td>
                            <td style="text-align:center"><a href="{{url('/admin/account/edit',['id'=>session('id'),'account'=>$res->account])}}">提现</a></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <!-- /.table-responsive -->
        </div>
        <!-- /.panel-body -->
    </div>
@endsection